The Slider Component > FSlider.getLargeStepAmount()

 

FSlider.getLargeStepAmount()

Availability

Flash Player 6.

Usage

mySlider_sld.getLargeStepAmount ()

Parameters

None.

Returns

Returns the large step amount.

Description

Returns the large step amount. The large step amount is the value of how much the thumb on the slider will move when the user holds down the CTRL key while pressing one of the arrow keys on the keyboard. It only affects keyboard navigation.

Example

The slider_getLargeStepAmount.fla example file contains an example of using this method.

The following code sets and then retrieves the largeStepAmount for the slider component:

mySlider_sld.setLargeStepAmount(10);
trace(mySlider_sld.getLargeStepAmount());//traces 10

See also

FSlider.getSmallStepAmount()

FSlider.setLargeStepAmount()

FSlider.setSmallStepAmount()